package com.fushenlan.epidemicControl.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.fushenlan.Vo.EmergencyInfoVo;
import com.fushenlan.epidemicControl.dto.EmergencyInfoDto;
import com.fushenlan.po.EmergencyInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @Author XUJIN
 * @DATE 2022/4/21
 * @PACKAGE_NAME com.fushenlan.epidemicControl.mapper
 * @VERSION 1.0
 */
@Mapper
public interface EmergencyInfoMapper extends BaseMapper<EmergencyInfo> {

   List<EmergencyInfoVo>  findAllEmergencyList(EmergencyInfoDto emergencyInfoDto);

   EmergencyInfoVo getEmergencyInfoById(Integer id);

    int dealEmergency(EmergencyInfo emergencyInfo);
}
